package com.movies.repository;


import com.movies.model.Movie;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by chemeng on 2017/3/11.
 */
@Repository
public interface MovieMapper {

     List<Movie> findAllMovies();

     void saveMovie(Movie movie);

     int deleteMovie(Integer id);

     int updateMovie(Movie movie);
}
